package com.gps.skyrc.tool;

import android.app.Activity;

import com.gps.skyrc.R;

public class LogoutUtils {

    /**
     * 进入动画
     */
    public static void enterAnimation(Activity activity) {
        activity.overridePendingTransition(R.anim.in_from_right,
                R.anim.out_to_left);
    }

    /**
     * 退出动画
     */
    public static void exitAnimation(Activity activity) {
        activity.overridePendingTransition(R.anim.in_from_left,
                R.anim.out_to_right);

    }
}
